<table id='data'>
      <tr class="title">
         <td>ID</td>         
         <td>Email</td>
         <td>Group</td>
         <td>Control</td>
      </tr>
<?php 
foreach ($this->users as $user){
    $lnkEdit = $this->url('admin', 
               array(
                'controller'=>'index',
                'action'=>'edit', 
                'id' => $user->id
               ));
         $lnkEdit = '<a href="' . $lnkEdit . '">Edit</a>';
         
         $lnkDelete = $this->url('admin',
               array(
                  'controller'=>'index',
                  'action'=>'delete',
                  'id' => $user->id
               ));
         $lnkDelete = '<a href="' . $lnkDelete . '">Delete</a>';
      echo '<tr>';
      echo '<td>'.$user->id.'</td>';
      echo '<td>'.$user->email.'</td>';
      echo '<td>'.$user->group_id.'</td>';
      echo '<td>'.$lnkEdit.$lnkDelete.'</td>';
      echo '</tr>';
   }
?>